import React, { Component } from 'react';
import { InputNumber } from 'antd';
import styles from './index.less'

class InputPrices extends Component {
    render() {
        return (
            <div className={styles.priceBox}>
                <span className={styles.priceStyle}>￥</span>
                <InputNumber
                    min={this.props.min}
                    max={this.props.max}
                    onChange={this.props.onChange}
                    style={this.props.style}
                    value={this.props.setValue}
                    disabled={this.props.disabled}
                />
            </div>
        );
    }
}

export default InputPrices;
